package com.jic.weamop.weBankAMOP.common.dto.request;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@ToString
@AllArgsConstructor
public class MessageRequest {

    @ApiModelProperty(notes = "topic编码",required = true)
    private String toTopic;

    @ApiModelProperty(notes = "服务ID",required = true)
    private String serviceId;

    @ApiModelProperty(notes = "String类型的JSON消息")
    private String message;

    @ApiModelProperty(notes = "超时时间，毫秒级别,默认 5000 ms")
    private Integer timeOut = 5000;

}
